.box_gobang {
    float: left;
    margin: auto 50px;
    width: 500px;
}

canvas {
    display: block;
    margin: 32px auto;
    box-shadow: -2px -2px 2px #EFEFEF, 5px 5px 5px #B9B9B9;
}